﻿//using System;
//using System.ComponentModel.DataAnnotations.Schema;
//using Project.Models.System.DepartmentFile;
//using Project.Models.System.StaffFile;

//namespace Project.Models.System.ApprovalFile.LeaveRequestFile
//{
//    /// <summary>
//    /// 请假表
//    /// </summary>
//    public class LeaveRequest:BaseEntity
//    {
//        /// <summary>
//        /// 请假人
//        /// </summary>
//        [ForeignKey(nameof(UserInfo))]
//        public long UserId { get; set; }
//        public UserInfo UserInfo { get; set; }
//        /// <summary>
//        /// 审批人
//        /// </summary>
//        [ForeignKey(nameof(Admin))]
//        public long DepartmentAdminId { get; set; }
//        public DepartmentAdmin Admin { get; set; }
//        /// <summary>
//        /// 请假时间
//        /// </summary>
//        public DateTime LeaveTime { get; set; }
//        /// <summary>
//        /// 时长
//        /// </summary>
//        public DateTime Date { get; set; }
//        /// <summary>
//        /// 备注
//        /// </summary>
//        public string Remark { get; set; }
//        /// <summary>
//        /// 审批状态
//        /// </summary>
//        [ForeignKey(nameof(ApplyState))]
//        public long ApplyStateId { get; set; }
//        public ApplyState ApplyState { get; set; }
//    }
//}
